<?php
class Faculty_Permission_Model extends CI_Model {
    //exp_fmis_permissions_list


	public function __construct(){
		parent::__construct();
	}

    public function getAll()
    {
        $sql = "SELECT * FROM exp_fmis_permissions_list";
        $query =  $this->db->query($sql);
        $result = $query->result_array();
        return $result;
    }

    public function getAllPermissionName()
    {
        $sql = "SELECT Permissions FROM exp_fmis_permissions_list";
        $query =  $this->db->query($sql);
        $result = $query->result_array();
        return $result;
    }



}
